package Sj01.entity;

public abstract class Operation {
    private double x;       //操作数x
    private double y;       //操作数y
    public abstract double getResult();

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }
}
